package org.qpcr.community.project.web;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.hswebframework.web.authorization.annotation.Authorize;
import org.hswebframework.web.authorization.annotation.Resource;
import org.hswebframework.web.crud.web.reactive.ReactiveServiceCrudController;
import org.qpcr.community.project.model.entity.FileCenterInstanceEntity;
import org.qpcr.community.project.service.LocalFileCenterInstanceService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping( {"/project/file-center", "/project/file/center"})
@Authorize
@Resource(id = "file-center", name = "下载中心")
@Slf4j
@Tag(name = "下载中心接口")
@RequiredArgsConstructor
public class FileCenterController implements
    ReactiveServiceCrudController<FileCenterInstanceEntity, String> {
    @Getter
    private final LocalFileCenterInstanceService service;

}
